package de.sordul.jobMaster;

import java.io.File;

/**
 * A wordlist DAO to create and access wordlists.
 */
public interface IWordlistDAO {

	/**
	 * Create a new wordlist based on a given file.
	 * @param filePath The wordlist-file path
	 */
	public void createByFile(File filePath);
	
	/**
	 * Get a random entry from the wordlist.
	 * @param language Language
	 * @param wordlist Wordlist
	 * @return A random entry
	 */
	public String readRandom(String language, String wordlist);
}
